# coding: utf-8
import os
from ris_tag.model.base import Base

class Users(Base):

    def __init__(self):
        super(Users, self).__init__()
        self.collection = self.db['users']

    def find_ids(self):
        result = self.collection.find({}, {'_id': 1})
        return [str(r['_id']) for r in list(result)]
